package com.example.logindemo

import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.login.*

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        loginTv.setOnClickListener {
            Toast.makeText(
                this,
                "要登录啦！",
                Toast.LENGTH_LONG
            ).show()
        }
    }


}